#include<iostream>
#include<iterator>
#include<vector>
#include<cstdio>
using namespace std;
int main(){
	vector<int>a;
	vector<int>::iterator b;
	for(int i=0;i<5;i++)
	a.push_back(i);
	cout<<"size(a)="<<a.size()<<endl;
		for(int i=0;i<a.size();i++)
		cout<<a[i]<<endl;
	cout<<endl;
	/*for(int t=a.size()-1;t>=0;t--)
	cout<<t<<'='<<a.at(t)<<'\t'<<a[t]<<endl;
	cout<<endl;
	cout<<*(a.end()-1)<<endl;	
	printf("%p",a.end()-1);
	cout<<*(a.end()-1)<<endl;
	iterator ba.insert(a.end(),{99,999});*/
	b=a.begin();

	cout<<"数据于此"<<*b<<endl;
		a.erase(b);
	for(int i:a)
		cout<<i<<endl;
}
